package sftd;

import java.awt.Image;

public class Tower {
	public static class TowerType {
		private Image baseImage;
		private Image cannonImage;
		
		public TowerType(Image startBaseImage, Image startCannonImage) {
			baseImage = startBaseImage;
			cannonImage = startCannonImage;
		}
		
		public Image getBaseImage() {
			return baseImage;
		}
		
		public Image getCannonImage() {
			return cannonImage;
		}
	}
	
	private TowerType type;
	private float rotation;
	
	public Tower(TowerType startType) {
		type = startType;
		rotation = 0;
	}
	
	public TowerType getType() {
		return type;
	}
	
	public float getRotation() {
		return rotation;
	}
	
	public void setRotation(float newRotation) {
		rotation = newRotation;
	}
}
